package com.dudy.chain;

/**
 * @program: zhuguangDemo
 * @description: ${description}
 * @author: dudy
 * @create: 2018-04-05 21:09
 **/
public class Hubei extends AbstractProvince {

    private static String type = "hubei";
    @Override
    public void todo(String type) {
        if (type.equals(Hubei.type)) {
            System.out.println("hubei");
        } else {
            province.todo(type);
        }
    }
}
